package com.feng.cloud.order.listener;

import org.apache.rocketmq.common.message.MessageExt;
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;
import org.springframework.stereotype.Component;

/**
 * @ClassName OrderListener
 * @Description 订单消费者
 * @Author Better Feng
 * @Date 2021/1/3 11:55
 **/
@Component
@RocketMQMessageListener(consumerGroup = "${rocketmq.consumer.group}",topic = "TopicTest")
public class OrderListener implements RocketMQListener<MessageExt> {
    @Override
    public void onMessage(MessageExt message) {
    }
}
